package afcepf.atod18.frameworkMVC2.servlet;

import java.util.ArrayList;
import java.util.List;

import net.htmlparser.jericho.FormField;

/**
 * 
 * @author thool
 * @version 1
 * Store information about a form parsed from HTML File:
 *    Form Name
 *    Generated Java Source code for Form Class
 *    List of field name (as HTML input)
 */
public class FormGenerator_Form {

    private String SourceCode;
    private String FormName;
    private String url;
    private List<FormField> Fields = new ArrayList<FormField>();

    /**
     * @return the sourceCode
     */
    public String getSourceCode() {
        return SourceCode;
    }

    /**
     * @param paramSourceCode
     *            the sourceCode to set
     */
    public void setSourceCode(String paramSourceCode) {
        SourceCode = paramSourceCode;
    }

    /**
     * @return the formName
     */
    public String getFormName() {
        return FormName;
    }

    /**
     * @param paramFormName
     *            the formName to set
     */
    public void setFormName(String paramFormName) {
        FormName = paramFormName;
    }

    public List<FormField> getFields() {
        return Fields;
    }

    public void setFields(List<FormField> paramFields) {
        Fields = paramFields;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String paramUrl) {
        url = paramUrl;
    }

}
